package config;

import java.sql.Connection;

public class ConfigData
{
    // Database information
    protected static String dbHost;
    protected static String dbName;
    protected static String dbUserName;
    protected static String dbPassword;
    
    // System properties
    protected static boolean isTestMode;
    
    // System configuration
    protected static int monitorRate;
    protected static int threadJoinWait;

    public static boolean isTestMode()
    {
        return isTestMode;
    }

    public static void setTestMode(boolean isTestMode)
    {
        ConfigData.isTestMode = isTestMode;
    }

    public static int getMonitorRate()
    {
        return monitorRate;
    }

    public static void setMonitorRate(int monitorRate)
    {
        ConfigData.monitorRate = monitorRate;
    }

    public static int getThreadJoinWait()
    {
        return threadJoinWait;
    }

    public static void setThreadJoinWait(int threadJoinWait)
    {
        ConfigData.threadJoinWait = threadJoinWait;
    }
    
}
